<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.sql.*" %>
<%@ page import="javax.sql.*" %>
<%@ page import="javax.naming.*" %><%

Context expctx = null;
DataSource expds = null;
Connection expconn = null;
Statement exphandle=null;
ResultSet exprs = null;


try{
	expctx = new InitialContext();
  expds = (DataSource)expctx.lookup("java:comp/env/jdbc/oracle");      
	expconn = expds.getConnection();
	exphandle=expconn.createStatement();

}catch(Exception e){
	System.out.println(e.getMessage());
	out.write("<script language=vbscript>\n msgbox \"database error\"\n</script>\n");
}


   try
	{
%>
